package com.guofen.service.sjq;

import com.guofen.pojo.SjqWaterProductionInspectionEquipment;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface SjqWaterProductionInspectionEquipmentService {
    boolean addForm(String equipment_name, String is_normal, String operator, String inspector, String remarks);

    List<SjqWaterProductionInspectionEquipment> findForm();

    boolean updateForm(int id, String inspector, String remarks);

    public Map<String, Object> get(int pageSize, int currentPage);

    public Map<String, Object> getByTime(int pageSize, int currentPage, long startTime, long endTime);

    public int delete(int id);

    public int update(SjqWaterProductionInspectionEquipment record);
}